package com.shopping.service;

import com.github.pagehelper.PageInfo;
import com.shopping.common.ServerResponse;
import com.shopping.pojo.Shipping;

public interface IShippingService {
    ServerResponse add(Integer userId, Shipping shipping);
    ServerResponse<String> del(Integer userId,Integer shippingId);
    ServerResponse update (Integer userId,Shipping shipping);
    ServerResponse<Shipping> select (Integer userId,Integer shippingId);
    ServerResponse<PageInfo> list(int userId, int pageNum, int pageSize);
}
